package com.qf.smartplatform.service;

import com.qf.smartplatform.dto.UserDto;
import com.qf.smartplatform.pojo.SysUserInfo;

public interface UserService {
    void addUser(UserDto userDto);
    SysUserInfo findByName(String username);
    SysUserInfo login(String username, String password);

    void updateLoginData(Long uid,String ip);
}
